<template>
  <div class="right-table">
    <el-table
            :data="tableData"
            style="width: 100%">
      <el-table-column
              prop="type"
              label=""
              width="140">
      </el-table-column>
      <el-table-column
              prop="times"
              label="次数"
              width="60">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
  export default {
    name: "RightTable",
    data(){
      return {
        tableData:[
          {type:'红牌',times:'0'},
          {type:'黄牌',times:'2'},
          {type:'两黄一红',times:'0'},
          {type:'护球出界',times:'23'},
          {type:'造越位',times:'0'},
          {type:'被突破',times:'25'},
        ]
      }
    }
  }
</script>

<style scoped>
  .right-table {
    width: 200px;
    height: 100%;
  }
  .right-table /deep/ .el-table td {
    padding: 5px 0;
    background-color: #f1f6f9;
    font-size: 18px;
    font-weight: bold;
    /*color:rgba(101, 111, 115, 0.75);*/
    text-align: center;
  }
  .right-table /deep/ .is-leaf {
    padding: 0 ;
    background-color: #f1f6f9;
    font-size: 18px;
    font-weight: bold;
    /*color:rgba(101, 111, 115, 0.75);*/
    text-align: center;
  }
</style>